/**
 * 
 */
package com.gmail.sabujdas.patterns.absfactory.model;

import com.gmail.sabujdas.patterns.absfactory.ChemicalType;

/**
 * @author Sabuj Das | sabuj.das@gmail.com
 *
 */
public abstract class Acid {

	private String name;
	private ChemicalType type;
	
	public Acid(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the type
	 */
	public ChemicalType getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(ChemicalType type) {
		this.type = type;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Acid [name=" + name + "]";
	}
	
	
	
}
